package org.bmind.datasword.config;

import java.util.Collection;
import java.util.Map;

import org.bmind.datasword.config.dto.DConfig;

import com.orientechnologies.orient.core.db.object.ODatabaseObject;

//import org.bmind.datasword.config.dto.RConfig;

public interface ConfigManager {
	
	public void init(Map<String, Object> parameters) throws Exception;
	
	public DConfig getConfig();
	
	public DConfig getConfig(Collection<String> areas, Collection<String> roles);
	
	public Collection<String> getAreas(Collection<String> roles);
	
	public void setConfig(DConfig config);
	
	public void removeConfig(ODatabaseObject orDb);

}

